Wpe_Content_Engine\Helper\Search\Search A

Total Complexity 51
Dependencies 9
Dependents 1
Total lines 428
Lines of code 260
Logical lines of code 110
Comment lines 91
Methods 15
Properties 3

Methods 15

Method Rating Maintainability Complexity Lines of code
get_ce_posts()
A
38 10 74
get_search_fields()
A
46 10 41
search_content_engine()
S
44 3 53
format_hits_as_posts()
S
54 5 19
format_hits_as_ids()
S
58 4 15
found_posts()
S
70 3 6
format_hits_as_id_parents()
S
61 2 13
add_debug_message()
S
63 2 12
is_html_search()
S
79 2 3
is_admin_search_request()
S
79 2 3
extract_post_types()
S
78 2 3
generate_filters()
S
68 2 7
get_offset()
S
77 2 3
__construct()
S
74 1 5
is_graphql_request()
S
79 1 3